Guide deploy ghost#699
Conversation
## Describe your PR This PR adds an entry about parhds and update cli/dns documentation
## Describe your PR This PR add entries about latest Terraform provider updates
## Describe your PR This PR: - adds Mailpace/Otoroshi - removes Beta mention from GA add-ons - fixes some links
Co-Authored-By: Aurélien HÉBERT <aurrelhebert@gmail.com>
Co-Authored-By: Pierre DE SOYRES <104012218+pdesoyres-cc@users.noreply.github.com>
## Describe your PR _Summarize your changes here : Modified product support page to be a bit more detailled in the title and look better like the rest of the documentation. ## Checklist - [ ] My PR is related to an opened issue : # - [ ] I've read the [contributing guidelines](/CleverCloud/documentation/blob/main/CONTRIBUTING.md) ## Reviewers _Who should review these changes?_ @CleverCloud/reviewers
## Describe your PR I've made some UI fixes in the titles that appear in the sidebar. We don't change the `title`, but we add `linkTitle` with a shorter name. ## Checklist - [ ] My PR is related to an opened issue : # - [x] I've read the [contributing guidelines](/CleverCloud/documentation/blob/main/CONTRIBUTING.md) ## Reviewers @CleverCloud/reviewers
## Describe your PR Github action "Clever Cloud review app on PRs" link was broken Co-authored-by: Clément Nivolle <cnivolle@gmail.com>
## Describe your PR This PR fixes dead links and aliases to CLI pages
## Describe your PR This PR fixes more dead links/aliases
## Describe your PR This PR fix two broken images links
## Describe your PR This PR adds "with Apache" mention to PHP/Static runtimes where Apache is used.
## Describe your PR Complete PM 2025 03 03 with databases actions @CleverCloud/reviewers @StevenLeRoux @davlgd
## Describe your PR This PR updates Redirection.io agent availability
Co-Authored-By: David Legrand <1110600+davlgd@users.noreply.github.com>
00e7b42 to
9782ba1
Compare
davlgd
left a comment
There was a problem hiding this comment.
Thanks for this, I suggested changes. The most big part is that we can provide an example git repository the user just need to clone/fork and then create/configure the application to deploy
|
|
||
| ## Installation and Configuration | ||
|
|
||
| ### Initialize Your Project |
There was a problem hiding this comment.
As this part is mostly moving files/editing config of the Ghost project, maybe we could just:
- Do it in a Clever Cloud repo
- Provide the preconfigured repo link, users just have to clone it
- Provide users needing more info about Ghost and how it works a link to Ghost doc
| clever addon create mysql-addon --plan s_sml myblogsql | ||
| clever service link-addon myblogsql |
There was a problem hiding this comment.
you can link it at add-on creation
| ```sh | ||
| clever env set database__connection__host <ADDON_HOST> | ||
| clever env set database__connection__user <ADDON_USER> | ||
| clever env set database__connection__password <ADDON_PASSWORD> | ||
| clever env set database__connection__database <ADDON_DATABASE> | ||
| clever env set database__connection__port <ADDON_PORT> | ||
| clever env set url https://<domain_URL_blog> |
There was a problem hiding this comment.
Use a binding script, as we do in oTree guide for example. If the user changes the add-on or if config changes, it will still work
There was a problem hiding this comment.
Create a .sh script with the env variables directly to make everything more persistent?
| clever addon create cellar-addon --plan s_sml <cellar-app> | ||
| clever service link-addon <cellar-app> |
There was a problem hiding this comment.
Link at creation
If you use a binding script maybe you can:
- Create add-ons
- Create the binding script
- Configure env
There was a problem hiding this comment.
I don't understand, you want me to put a script to execute directly?
| clever env set mail__from "your-email@example.com" | ||
| clever env set mail__options__service "your-mail-service" # e.g. Mailgun, Gmail, etc. | ||
| clever env set mail__options__host "smtp.yourmail.com" | ||
| clever env set mail__options__port "587" | ||
| clever env set mail__options__secureConnection "false" | ||
| clever env set mail__options__auth__user "your-smtp-username" | ||
| clever env set mail__options__auth__pass "your-smtp-password" |
There was a problem hiding this comment.
Is there a way to use mailpace here ? Maybe we can use a tab to show how to setup both classic SMTP and Mailpace?
| git remote add clever <CLEVER_GIT_URL> | ||
| git push clever <branch>:master |
|
|
||
| ## More Information | ||
|
|
||
| For a small blog, you can use the XS or S Node.js plan. |
There was a problem hiding this comment.
Maybe provide this info as a [!TIP] when we tell the user how to create the application
Co-authored-by: David Legrand <1110600+davlgd@users.noreply.github.com>
Co-authored-by: David Legrand <1110600+davlgd@users.noreply.github.com>
Co-authored-by: David Legrand <1110600+davlgd@users.noreply.github.com>
|
@Juju-archy Thanks for the changes. I use this PR to test something for guides, I'll get back to you on it later this week. |
Describe your PR
Guide to deploy Ghost Blog (Node.js, Cellar, MySQL) on Clever Cloud
Checklist
Reviewers
Who should review these changes? @CleverCloud/reviewers